﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Register Src="../../../../_controltemplates/15/MII_FIF/Header.ascx" TagPrefix="UC" TagName="Header" %>
<%@ Register Src="../../../../_controltemplates/15/MII_FIF/LeftMenu.ascx" TagPrefix="UC" TagName="LeftMenu" %>
<%@ Register Src="../../../../_controltemplates/15/MII_FIF/Header.ascx" TagPrefix="UC" TagName="PageHeader" %>

<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ViewDataKunjungan.aspx.cs" Inherits="MII_FIF.Layouts.MII_FIF.DataKunjungan.ViewDataKunjungan" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <link href="../JQuery/jquery-ui-1.10.3.custom/css/ui-lightness/jquery-ui-1.10.3.custom.min.css" rel="stylesheet" />
    <script src="../JQuery/jquery-ui-1.10.3.custom/js/jquery-1.9.1.js" type="text/javascript"></script>
    <script src="../JQuery/jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
    
        <link href="../Style.css" rel="stylesheet" type="text/css" />

    <div>
        <table class="TableLuar">
            <tr>
                <td class="LeftMenu">
                    <UC:LeftMenu runat="server" id="LeftMenu" />
                </td>
                <td style="vertical-align: top;">
                    <table class="TableDalam">
            <tr>
                <td>
                
        <div style="text-align:center" runat="server" id="divstatus"><asp:Label ID="lblStatus" runat="server" ForeColor="Red"></asp:Label>
        <br />
        <br />
        </div>
        <asp:GridView ID="GridKunjungan" runat="server" CellPadding="4" 
        EnableModelValidation="True" ForeColor="#333333" GridLines="None" 
        AutoGenerateColumns="False" AllowPaging="True" 
        onpageindexchanging="GridKunjungan_PageIndexChanging"
        EmptyDataText="There is no Data Kunjungan" Font-Names="Arial" Width="100%" 
        AllowSorting="True" PageSize="10">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="ID" HeaderStyle-CssClass="hidden" ItemStyle-CssClass="hidden"
                FooterStyle-CssClass="hidden" />
            <asp:BoundField DataField="Lokasi" HeaderText="Lokasi" >
            <ItemStyle Width="250px" />
            </asp:BoundField>
            <asp:BoundField DataField="Tanggal" HeaderText="Tanggal" DataFormatString="{0:dd-MMM-yyyy}" >
            <ItemStyle Width="110px" />
            </asp:BoundField>
            <asp:BoundField DataField="KunjunganRutin" HeaderText="Kunjungan Rutin" >
            <ItemStyle Width="110px" />
            </asp:BoundField>
            <asp:BoundField DataField="Trouble" HeaderText="Trouble" >
            <ItemStyle Width="110px" />
            </asp:BoundField>
            <asp:BoundField DataField="DeploymentUnit" HeaderText="Deployment Unit" >
            <ItemStyle Width="110px" />
            </asp:BoundField>
            <asp:BoundField DataField="Lain2" HeaderText="Lain lain" >
            <ItemStyle Width="110px" />
            </asp:BoundField>
            <asp:TemplateField HeaderText="Action">
            <ItemTemplate>
                <asp:Button Text="Show" runat="server" ID="btnEdit" CommandArgument='<%# Bind("ID") %>' CommandName="Edit" />
            </ItemTemplate>
            </asp:TemplateField>
            
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" 
            HorizontalAlign="Center" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" 
            HorizontalAlign="Center" />
        <PagerSettings Mode="NextPreviousFirstLast" FirstPageText="First" 
            LastPageText="Last" NextPageText="Next" PreviousPageText="Previous" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Right" />
        <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        </asp:GridView>
        <br />
                    <asp:Button runat="server" ID="btnAdd" Text="Add" />
                    <br />
        <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>  
                    </td>
            </tr>
                        </table>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
View Data Kunjungan
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
View Data Kunjungan
</asp:Content>
